package com.sxm.yiwei.activitis;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.sxm.yiwei.R;

public class CryHopeBookActivity extends BaseActivity implements View.OnClickListener{

    private ImageView hopebookback;
    private TextView lastdaymoney;
    private TextView monthmoney;
    private TextView monthno;
    private TextView no;
    private TextView no1;
    private TextView rightmonthmoney;
    private TextView rightmonthno;
    private TextView yesterdaymoney;
    private ImageView backmain;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cry_hope_book);
        initHopeBookView();
    }

    private void initHopeBookView() {
        hopebookback = (ImageView) findViewById(R.id.cry_hopebook_back);
        lastdaymoney = (TextView) findViewById(R.id.crybook_lastdaymoney);//前天
        yesterdaymoney = (TextView) findViewById(R.id.crybook_yesterdaymoney);//昨天
        monthmoney = (TextView) findViewById(R.id.crybook_monthmoney);
        monthno = (TextView) findViewById(R.id.crybook_monthno);
        no = (TextView) findViewById(R.id.crybook_no);// 前天
        no1 = (TextView) findViewById(R.id.crybook_no1);// 昨天
        rightmonthmoney = (TextView) findViewById(R.id.crybook_rightmonthmoney);
        rightmonthno = (TextView) findViewById(R.id.crybook_rightmonthno);
        backmain = (ImageView) findViewById(R.id.cryhopebook_backmain);

        backmain.setOnClickListener(this);
        hopebookback.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        finish();
    }
}
